from django.shortcuts import render

# Create your views here.
# def hello4(request):
#     return render(request,'hello4.html',{'a':False,'li':['a','b','c','d']})
def indexView(request):
    return render(request,'欢迎界面.html')

# 定义404异常的视图函数
def page_not_found(request,exception):
    return render(request,'404.html',status=404)

# 定义500异常的视图函数
def page_error(request):
    return render(request,'404.html',status=500)
